{include file="header.tpl" title="Access GL"}
<form action="" method="post" target="_self" name="tongquat" autocomplete="off">
  <table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="29%">
<input type="button" value="{$ten_trove}" onClick="history.back();" class="button_style" onMouseOver="this.className='button_style_hover'" onMouseOut="this.className='button_style'"></td>
<td align="right" nowrap="nowrap" colspan="2">
<select name="hanhdong" size="1" onChange="changevalue('hanhdong');">
 {foreach from=$chuyentrang key=k item=v} 	  	
      <option value="{$k}" {if $select_cbo_chuyentrang eq $k} selected="selected" {/if}>{$v}</option>
 	{/foreach}
</select>
<input name="action" type="submit" value="{$ten_thuc_hien}" class="button_style" onClick="" onMouseOver="this.className='button_style_hover'" onMouseOut="this.className='button_style'"/></td>
</tr>
<tr>
<td colspan="3"><hr></td>
</tr>
  <tr>
  	<td nowrap="nowrap" colspan="3" align="left">&nbsp;&nbsp;&nbsp;</td>	
  </tr>  
  
  <tr>
    <td align="left">{$lbl_BRNCODE_LIST} </td>
    <td width="58%" align="left"><span style="color:#FF0000">
      <input name="BRNCODE" id="BRNCODE" type="text" style="background:{$colorBRNCODE}" value="{$BRNCODE}" size="20" maxlength="3" onkeyup="this.value=this.value.toUpperCase().replace(' ','');" onblur="this.value=this.value.toUpperCase().replace(' ','');" />
      *
  <input type="button" onclick="mywindow = window.open('branchcode_id.php?name=BRNCODE', 'mywindow','menubar=0,resizable=yes,width=800,height=300, scrollbars=yes');mywindow.moveTo((screen.width-800)/2,screen.height/2);" name="phonggd" id="replacement_binoculars" value="     " />
    <input type="button" name="add_branhcode" id="add_branhcode" onclick="add_new_branhcode();" value="{$ten_them_moi}"  class="button_style" onmouseover="this.className='button_style_hover'" onmouseout="this.className='button_style'" />
    <input name="delete_branhcode" id="delete_branhcode" type="button" value=" {$ten_xoa} " class="button_style" onclick="delete_branh();"  onmouseover="this.className='button_style_hover'" onmouseout="this.className='button_style'" />
</span></td>
    <td width="26%" align="left">&nbsp;</td>
  </tr>
  <tr>
    <td align="left">&nbsp;</td>
    <td align="left">
      <textarea name="LIST_BRANHCODE" id="LIST_BRANHCODE" readonly="readonly">{$LIST_BRANHCODE}</textarea></td>
    <td align="left">&nbsp;</td>
  </tr>
  <tr>
    <td align="left">{$lbl_ACTNO_LIST} </td>
    <td align="left"><select name="ACTNO_LIST" size="1" id="ACTNO_LIST" style="width:85px">    
			{foreach from=$cbo_bts_denygl_Account key=k item=v}			      
      <option value="{$v}" {if $v eq $ACTNO_LIST} selected="selected" {/if}>{$v}</option>
			{/foreach}
    </select>    </td>
    <td align="left">&nbsp;</td>
  </tr>
  <tr>
    <td align="left">{$lbl_ACTNO} </td>
    <td align="left"><span style="color:#FF0000">
      <input name="ACTNO" id="ACTNO"  type="text" style="background:{$colorACTNO}" value="{$ACTNO}" size="20" maxlength="20" onkeypress="return numberOnly(event);" />
*
<input type="button" onclick="mywindow = window.open('acct_id.php?name=ACTNO& id='+document.getElementById('ACTNO_LIST').value, 'mywindow','menubar=0,resizable=yes,width=800,height=300, scrollbars=yes');mywindow.moveTo((screen.width-800)/2,screen.height/2);" name="phonggd2" id="replacement_binoculars" value="     " />    
<input type="button" name="add_account" id="add_account" value="{$ten_them_moi}"  class="button_style" onclick="add_new_acct();" onmouseover="this.className='button_style_hover'" onmouseout="this.className='button_style'" />
    <input name="delete_account" onclick="delete_acct();" id="delete_account" type="button" value=" {$ten_xoa} " class="button_style"  onmouseover="this.className='button_style_hover'" onmouseout="this.className='button_style'" />
</span></td>
    <td align="left">&nbsp;</td>
  </tr>
  <tr>
    <td align="left">&nbsp;</td>
    <td align="left"><textarea name="LIST_ACCOUNT" id="LIST_ACCOUNT" readonly="readonly">{$LIST_ACCOUNT}</textarea></td>
    <td align="left">&nbsp;</td>
  </tr>
  <tr>
  	<td align="left">{$lbl_NOCO}</td>	
	<td align="left"><select id="NOCO" name="NOCO" size="1" style=" background:{$colorNOCO};">
 		{foreach from=$cbo_NOCO key=k item=v}
	  <option value="{$k}" {if $NOCO eq $k} selected="selected" {/if}>{$k} - {$v}</option>
 		{/foreach}
	  </select>
	  <span style="color:#FF0000"> *</span>	<span style="color:#FF0000">
	  <input type="button" name="add_noco" id="add_noco" value="{$ten_them_moi}"  class="button_style" onclick="add_new_noco();" onmouseover="this.className='button_style_hover'" onmouseout="this.className='button_style'" />
      <input name="delete_nc" onclick="delete_noco();" id="delete_nc" type="button" value=" {$ten_xoa} " class="button_style"  onmouseover="this.className='button_style_hover'" onmouseout="this.className='button_style'" />
	  </span></td>
	<td align="left">&nbsp;</td>
  </tr>
	<tr>
	  <td>&nbsp;</td>
	  <td><textarea name="LIST_NOCO" id="LIST_NOCO" readonly="readonly">{$LIST_NOCO}</textarea></td>
	  <td>&nbsp;</td>
    </tr>
	<tr>
	  <td>{$lbl_LOAITIEN}</td>
	  <td><select name="LOAITIEN" size="1" id="LOAITIEN" style="background:{$colorLOAITIEN};">
 		{foreach from=$cbo_LOAITIEN key=k item=v}
	    <option value="{$k}" {if $LOAITIEN eq $k} selected="selected" {/if}>{$k} - {$v}</option>
 		{/foreach}
	    </select>
      <span style="color:#FF0000"> *</span>	  <span style="color:#FF0000">
      <input type="button" name="add_loaitien" id="add_loaitien" value="{$ten_them_moi}"  class="button_style" onclick="add_new_loaitien();" onmouseover="this.className='button_style_hover'" onmouseout="this.className='button_style'" />
      <input name="delete_tien" onclick="delete_loaitien();" id="delete_tien" type="button" value=" {$ten_xoa} " class="button_style"  onmouseover="this.className='button_style_hover'" onmouseout="this.className='button_style'" />
      </span></td>
	  <td>&nbsp;</td>
    </tr>
	<tr>
	  <td>&nbsp;</td>
	  <td><textarea name="LIST_LOAITIEN" id="LIST_LOAITIEN" readonly="readonly">{$LIST_LOAITIEN}</textarea></td>
	  <td>&nbsp;</td>
    </tr>
	<tr>
	  <td>{$lbl_INQ}</td>
	  <td><select id="INQ" name="INQ" size="1" style="background:{$colorINQ};" disabled="disabled">
 		{foreach from=$cbo_INQ_UPD key=k item=v}    
	    <option value="{$k}" {if $INQ eq $k} selected="selected" {/if}>{$k} - {$v}</option>    
 		{/foreach}
	    </select>	  </td>
	  <td>&nbsp;</td>
    </tr>
	
    <tr>
      <td>{$lbl_POSNAME}</td>
      <td colspan="2"><span style="color:#FF0000">
        <input name="POSNAME" id="POSNAME" type="text" style="background:{$colorPOSNAME}" value="{$POSNAME}" size="50" maxlength="50" />
      *</span></td>
    </tr>
    <tr>
      <td>{$lbl_REMARK}</td>
      <td colspan="2"><span style="color:#FF0000">
        <input name="REMARK" id="REMARK" type="text" style="background:{$colorREMARK}" value="{$REMARK}" size="50" maxlength="50" />
      </span></td>
    </tr>
    <tr>
<td colspan="3">
<p></p>
<p></p></td>
</tr>
<tr>
<td colspan="3" align="right">
<input type="submit" name="capnhat" id="capnhat" value="{$ten_cap_nhat}" class="button_style"  onmouseover="this.className='button_style_hover'" onMouseOut="this.className='button_style'" {if $disabled eq 'false' }disabled="disabled" {/if}/>  </td>
</tr>
<tr>
<td colspan="3">
<hr></td>
</tr>

<tr>
<td>
<input type="button" value="{$ten_trove}" onClick="history.back();" class="button_style" onMouseOver="this.className='button_style_hover'" onMouseOut="this.className='button_style'"></td>
<td align="right" nowrap="nowrap" colspan="2">
<select name="hanhdong1" size="1" onChange="changevalue('hanhdong1');">
 {foreach from=$chuyentrang key=k item=v}
      <option value="{$k}" {if $select_cbo_chuyentrang eq $k} selected="selected" {/if}>{$v}</option>
 	{/foreach}
</select>
<input name="action" type="submit" value="{$ten_thuc_hien}" class="button_style" onClick="" onMouseOver="this.className='button_style_hover'" onMouseOut="this.className='button_style'"/></td>
</tr>
</table>
</form>
{$javascriptsetstyle}
{include file="footer.tpl"}
